<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ page import="java.util.List" %>
    <%@ page import="java.util.Map" %>
    <%@ page import="java.util.ArrayList" %>
    <%
    String list =null;
    String list1 =null;
    String list2 =null;
    String list3 =null;
    list= (String)request.getAttribute("key");
    out.println("<table><tr><th>书架</th><th>类型</th><th>书名</th><th>编号</th></tr><tr><th>"+list+"</th>");
    list1= (String)request.getAttribute("key1");
    out.println("<th>"+list1+"</th>");
    list2= (String)request.getAttribute("key2");
    out.println("<th>"+list2+"</th>");
    list3= (String)request.getAttribute("key3");
    out.println("<th>"+list3+"</th></tr></table>");
    %>
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; ">  
<title>找书</title>  
<style>  
th, tr, td, table {  
    border: 1px solid red;
    width:1000px;

}
  
</style>  
</head>  
<body>  
 
</body>  
</html>